home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 86
/
(Vol 86) My Disc.iso
/
Games
/
restaurante_1422.swf
/
scripts
/
DefineSprite_454
/
frame_1
/
DoAction.as
Wrap
Text File
|
2009-04-29
|
362b
|
14 lines
var chrono = _parent.chrono;
chrono.addListener(this);
this.onUpdate = function()
{
this.tf.text = _parent.chrono.getNumericTime();
this.s_mc._rotation = chrono.seconds * 360 / 60;
this.m_mc._rotation = chrono.minutes * 360 / 60;
};
this.onReset = function()
{
this.tf.text = "0:00";
this.s_mc._rotation = this.m_mc._rotation = 0;
};